package com.ph.shopping.facade.product.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 商品分类
 * @author hewl
 *
 */
public class PhProductClassifyVo  implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -7532211027831490720L;

	/** 商品分类id */
    private Long id;
    private List idExtend;//扩展id

    /** 商品分类名称 */
    private String classifyName;

    /** 分类级别 1 一级分类 2 二级分类 3 三级分类 */
    private Integer classifyLevel;

    /** 父id */
    private Long parentId;
    /** 是否启用 1 未启用，2 已经启用 */
    
    private Integer status;
    /** 是否删除 1 未删除，2 已删除 */
    private Integer deleteFlag;

    /** 创建人 */
    private String createUser;
    
    private String createUserName;//创建人name
    
    /** 描述 */
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date createTime;
    
    /** 修改时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date updateTime;
    
    /** 排序 */
    private Integer sort;
    
    private Integer productCountNum;//商品总数

    private String parentName;//父级name
    private Integer productCount;//计算该类别下面所有子级是否关联商品数量
    private  String class1; //商城临时使用
    private List<PhProductVo> phProductVoList;//商品
    private List<PhProductPropertyVo> phProductPropertyVoList;//商品属性
    private List<PhProductPropertyValVo> phProductPropertyValVoList;//商品属性值
    private List<PhProductClassifyExtendVo> PhProductClassifyExtendVoList;//商品属性商城扩展值
    private List<PhProductClassifyVo> phProductClassifyVoList;//二级装载
    private List<PhProductClassifyVo> phProductClassifyVoThreeList;//三级装载
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List getIdExtend() {
		return idExtend;
	}

	public void setIdExtend(List idExtend) {
		this.idExtend = idExtend;
	}

	public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName == null ? null : classifyName.trim();
    }

    public Integer getClassifyLevel() {
        return classifyLevel;
    }

    public void setClassifyLevel(Integer classifyLevel) {
        this.classifyLevel = classifyLevel;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

	public List<PhProductPropertyVo> getPhProductPropertyVoList() {
		return phProductPropertyVoList;
	}

	public void setPhProductPropertyVoList(List<PhProductPropertyVo> phProductPropertyVoList) {
		this.phProductPropertyVoList = phProductPropertyVoList;
	}

	public List<PhProductPropertyValVo> getPhProductPropertyValVoList() {
		return phProductPropertyValVoList;
	}

	public void setPhProductPropertyValVoList(List<PhProductPropertyValVo> phProductPropertyValVoList) {
		this.phProductPropertyValVoList = phProductPropertyValVoList;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Integer getProductCountNum() {
		return productCountNum;
	}

	public void setProductCountNum(Integer productCountNum) {
		this.productCountNum = productCountNum;
	}

	public Integer getProductCount() {
		return productCount;
	}

	public void setProductCount(Integer productCount) {
		this.productCount = productCount;
	}

	public List<PhProductClassifyExtendVo> getPhProductClassifyExtendVoList() {
		return PhProductClassifyExtendVoList;
	}

	public void setPhProductClassifyExtendVoList(List<PhProductClassifyExtendVo> phProductClassifyExtendVoList) {
		PhProductClassifyExtendVoList = phProductClassifyExtendVoList;
	}

	public List<PhProductClassifyVo> getPhProductClassifyVoList() {
		return phProductClassifyVoList;
	}

	public void setPhProductClassifyVoList(List<PhProductClassifyVo> phProductClassifyVoList) {
		this.phProductClassifyVoList = phProductClassifyVoList;
	}

	public List<PhProductVo> getPhProductVoList() {
		return phProductVoList;
	}

	public void setPhProductVoList(List<PhProductVo> phProductVoList) {
		this.phProductVoList = phProductVoList;
	}

	public String getClass1() {
		return class1;
	}

	public void setClass1(String class1) {
		this.class1 = class1;
	}

	public List<PhProductClassifyVo> getPhProductClassifyVoThreeList() {
		return phProductClassifyVoThreeList;
	}

	public void setPhProductClassifyVoThreeList(List<PhProductClassifyVo> phProductClassifyVoThreeList) {
		this.phProductClassifyVoThreeList = phProductClassifyVoThreeList;
	}
    
	
    
}